package fr.channel.client.view;

import java.util.List;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

import fr.channel.shared.dto.PartieDTO;

public interface ConnectionView extends IsWidget {

	void setPresenter(Presenter presenter);
	
	void setParties(List<PartieDTO> parties);
	
    public interface Presenter {
        void goTo(Place place);
        
        void createPartie(String partieName, String joueurName);
    }
}
